{varType ApiGen\Index\Index $index}
{varType ApiGen\Renderer\Latte\Template\ConfigParameters $config}
{varType ApiGen\Renderer\Latte\Template\LayoutParameters $layout}

{define methodRelation, ApiGen\Info\MethodInfo $method, string $title, ApiGen\Info\ClassLikeInfo[] $related}
	{if $related}
		<h4>{$title}</h4>
		<ul>
			{foreach $related as $classLike}
				<li>
					{embed memberLink, $classLike, $method}
						{block content}<code>{$classLike->name->full}::{$method->name}()</code>{/block}
					{/embed}
				</li>
			{/foreach}
		</ul>
	{/if}
{/define}
